@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>报考学校管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#inputCon id="condition" name="名称/代号" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="EnrollSchool.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="EnrollSchool.resetSearch()" space="true"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="EnrollSchoolTableToolbar" role="group">
                            @if(shiro.hasPermission("/enrollSchool/add")){
                                <#button name="添加" icon="fa-plus" clickFun="EnrollSchool.openAddEnrollSchool()"/>
                            @}
                            @if(shiro.hasPermission("/enrollSchool/update")){
                                <#button name="修改" icon="fa-edit" clickFun="EnrollSchool.openEnrollSchoolDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/enrollSchool/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="EnrollSchool.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/enrollSchoolBatchMajor")){
                            <#button name="配置报考专业" icon="fa-th-large" clickFun="EnrollSchool.configBatchMajor()" space="true"/>
                            @}
                            <!--
                            @if(shiro.hasPermission("/importEnrollSchool")){
                            <#button name="导入报考信息" icon="fa-th-large" clickFun="EnrollSchool.configBatchMajor()" space="true"/>
                            <div id="activityImportBtnId" class="button-margin" style="display: inline-block;line-height: 21.080px;vertical-align: middle;">
                                <i class="fa fa-upload"></i> 导入
                            </div>
                            <a href="${ctxPath}/static/file/活动计划批量导入模板.xlsx">下载模板</a>
                            @}
                            -->
                            @if(shiro.hasPermission("/enrollSchool/import")){
                             <div id="importEnrollSchoolBtnId" class="button-margin" style="display: inline-block;line-height: 21.080px;vertical-align: middle;">
                                <i class="fa fa-upload"></i>学校导入
                             </div>
                            <#button name="学校导入模板下载" icon="fa fa-download" clickFun="EnrollSchool.templateDown()" space="true"/>
                            @}
                            
                            @if(shiro.hasPermission("/enrollSchool/majorimport")){
                             <div id="majorimportEnrollSchoolBtnId" class="button-margin" style="display: inline-block;line-height: 21.080px;vertical-align: middle;">
                                <i class="fa fa-upload"></i>专业导入
                            </div>

                            <#button name="专业导入模板下载" icon="fa fa-download" clickFun="EnrollSchool.templateDown1()" space="true"/>
                            @}

                        </div>
                        <#table id="EnrollSchoolTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/enroll/enrollSchool/enrollSchool.js"></script>
@}
